// part1:C12:12.19:StrBlobtest.cpp
#include <iostream>
#include "my_StrBlob.h"
using namespace std;

int main(int argc, char *argv[])
{
  StrBlob bl;
  {
    StrBlob b2 = {"a", "an", "the"};
    bl = b2;
    b2.push_back("about");
    cout << b2.size();
  }

  cout << bl.size() << endl;
  cout << bl.front() << endl;

  const StrBlob b3 = bl;
  cout << b3.front() << " " << b3.back() << endl;

  for (auto it = bl.begin(); neq(it, bl.end()); it.incr()) {
    cout << it.deref() << endl;
  }

  return 0;
}
